package com.zhouhong;

/**
 * @program: stack
 * @description:
 * @author: zhouhong
 * @create: 2021-03-30 22:35
 **/
public interface StackInterface<E> {

    int getSize();
    boolean isEmpty();
    void push(E e);
    E pop();
    // 查看栈顶部元素
    E peek();

}
